package cn.alpha.intell.rbtlib.view.widget.textview.view;

import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;

import cn.alpha.intell.rbtlib.view.widget.textview.view.base.BaseFontTextView;

public class MediumFontTextview extends BaseFontTextView {

    public static Typeface sTypeFace;

    public MediumFontTextview(Context context) {
        this(context,null);
    }

    public MediumFontTextview(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public Typeface getTypeFace() {
        if (sTypeFace == null) {
            sTypeFace = Typeface.createFromAsset(getContext().getAssets(), "fonts/NotoSansHans-Medium.otf");
        }
        return sTypeFace;
    }


}
